home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 9022 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: solon.com!not-for-mail
  2. From: seebs@solutions.solon.com (Peter Seebach)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Why doesn't this work?
  5. Date: 7 Mar 1996 17:56:05 -0600
  6. Organization: Usenet Fact Police (Undercover)
  7. Message-ID: <4hnt2l$hi2@solutions.solon.com>
  8. References: <1996Mar4.161412.137442@forest> <4hnq6u$2t3@umbc9.umbc.edu>
  9. NNTP-Posting-Host: solutions.solon.com
  10.  
  11. In article <4hnq6u$2t3@umbc9.umbc.edu>,
  12. Jonas J. Schlein <schlein@umbc.edu> wrote:
  13. >This variable should really be an int to comply with getchar().
  14.  
  15. Not "to comply with", but "to hold all possible returns from".
  16.  
  17. >It's customary to #include <stdio.h> when using printf().
  18.  
  19. And required.
  20.  
  21. >|>     fflush(stdout);
  22.  
  23. >Same thing with fflush() and stdout!
  24.  
  25. For stdout, yes; no requirement for fflush(), although this is an obsolescent
  26. feature.
  27.  
  28. -s
  29. -- 
  30. Peter Seebach - seebs@solon.com - Copyright 1996 Peter Seebach.
  31. C/Unix wizard -- C/Unix questions? Send mail for help.  No, really!
  32. FUCK the communications decency act.  Goddamned government.  [literally.]
  33. The *other* C FAQ - http://www.solon.com/~seebs/c/c-iaq.html
  34.